<template>
	<view class="page" :style="themeColor">
		<view class="flex flex-direction align-stretch benben-position-layout flex searchResult_flex_0"
			:style="{top:(88+StatusBarRpx)+'rpx'}">
			<view class='flex align-center flex-sub searchResult_fd0_0'>
				<view class='flex flex-wrap align-center' @tap.stop="switchListFunc(1)">
					<text class='searchResult_fd0_0_c0_c0' v-if="sort_field=='1'">综合</text>
					<text class='searchResult_fd0_0_c0_c0_1' v-if="sort_field!='1'">综合</text>
				</view>
				<view style="margin-left: 50rpx;" class='flex flex-wrap align-center' @tap.stop="switchListFunc(2)">
					<text class='searchResult_fd0_0_c1_c0' v-if="sort_field!='2'">销量</text>
					<text class='searchResult_fd0_0_c1_c0_1' v-if="sort_field=='2'">销量</text>
					<view class='flex flex-wrap align-center'>
						<image class='searchResult_fd0_0_c1_c1_c0' :src='STATIC_URL+"69.png"' v-if="sort_field!='2'">
						</image>
						<image class='searchResult_fd0_0_c1_c1_c1' :src='STATIC_URL+"70.png"'
							v-if="sort_type=='asc' && sort_field=='2'"></image>
						<image class='searchResult_fd0_0_c1_c1_c2' :src='STATIC_URL+"71.png"'
							v-if="sort_type=='desc' && sort_field=='2'"></image>
					</view>
				</view>
				<view style="margin-left: 50rpx;" class='flex flex-wrap align-center' @tap.stop="switchListFunc(3)">
					<text class='searchResult_fd0_0_c2_c0' v-if="sort_field!='3'">价格</text><text
						class='searchResult_fd0_0_c2_c0_1' v-if="sort_field=='3'">价格</text>
					<view class='flex flex-wrap align-center'>
						<image class='searchResult_fd0_0_c2_c1_c0' :src='STATIC_URL+"69.png"' v-if="sort_field!='3'">
						</image>
						<image class='searchResult_fd0_0_c2_c1_c1' :src='STATIC_URL+"70.png"'
							v-if="price_type=='asc' && sort_field=='3'"></image>
						<image class='searchResult_fd0_0_c2_c1_c2' :src='STATIC_URL+"71.png"'
							v-if="price_type=='desc' && sort_field=='3'"></image>
					</view>
				</view>
				<image class='searchResult_fd0_0_c3' :src='STATIC_URL+"72.png"' @tap.stop="switchColumnFunc(2)"
					v-if="column_id=='1'"></image>
				<image class='searchResult_fd0_0_c3_1' :src='STATIC_URL+"73.png"' @tap.stop="switchColumnFunc(1)"
					v-if="column_id=='2'"></image>
				<view class="shaixuan" @tap.stop="popupShow=true">
					<text>筛选</text>
					<image :src='STATIC_URL+"158.png"' mode="aspectFill"></image>
				</view>
			</view>

		</view>
		<view :style="{height: '88rpx'}"></view>
		<view class="flex benben-position-layout flex flex-wrap align-center searchResult_flex_1"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between flex-sub searchResult_fd1_0'>
				<text class='fu-iconfont2  searchResult_fd1_0_c0' @tap.stop="handleJumpDiy" data-type="back"
					data-url="1">&#xE794;</text>
				<view class='flex flex-wrap align-center searchResult_fd1_0_c1'>
					<input class='flex-sub input_text' type="text" placeholder="请输入想要搜索的商品" confirm-type="done"
						:maxlength="-1" placeholder-style="color:rgba(191, 191, 191, 1);font-size:24rpx"
						@confirm="addHistoryFunc()" v-model="keyword" />
				</view>
				<text class='fu-iconfont2  searchResult_fd1_0_c2' @tap.stop="addHistoryFunc()">&#xE722;</text>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>

		<view class="loading_css" v-if="!isShow">
			<u-loading size="36" color="#4177DD"></u-loading>
			<view class="loading_text">加载中</view>
		</view>
		<block v-else>
			<!---搜索列表flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout searchResult_flex_2"
				v-if="column_id=='1' && dataList.length > 0">
				<view class='flex flex-wrap align-start searchResult_fd2_0' v-for="(v, k) in dataList" :key="k"
					@tap.stop="handleJumpDiy" data-type="navigateTo"
					:data-url="`/pages/homepage/shopDetail/shopDetail?id=${v.id}`">
					<image class='searchResult_fd2_0_c0' mode="aspectFill" :src='v.thumb'></image>
					<view class='flex flex-direction flex-wrap align-stretch flex-sub searchResult_fd2_0_c1'>
						<text class='searchResult_fd2_0_c1_c0'>{{v.goods_name}}</text>
						<view class='flex flex-wrap align-center searchResult_fd2_0_c1_c1'>
							<text>销量</text>
							<text class='searchResult_fd2_0_c1_c1_c1'>{{v.sales_sum}}</text>
							<text>件</text>
						</view>
						<view class='flex flex-wrap align-center'>
							<text class='searchResult_fd2_0_c1_c2_c0'>￥</text>
							<view class=' searchResult_fd2_0_c1_c2_c1'>
								<text class=' searchResult_price1_fd2_0_c1_c2_c1'>{{ v.shop_price | frontPrice }}</text>
								<text class=' searchResult_price2_fd2_0_c1_c2_c1'>{{ v.shop_price | laterPrice }}</text>
							</view>
							<text class='searchResult_fd2_0_c1_c2_c2'>￥</text>
							<view class=' searchResult_fd2_0_c1_c2_c3'>
								<text>{{ v.original_price | frontPrice }}</text>
								<text
									class=' searchResult_price2_fd2_0_c1_c2_c3'>{{ v.original_price | laterPrice }}</text>
							</view>
						</view>
					</view>
				</view>
				<u-loadmore v-if="last_page > 1" style="padding: 24rpx 0;width: 100%;" :status="status"
					:icon-type="iconType" :load-text="loadText" />
			</view>
			<!---搜索列表flex布局结束-->
			<!---为您推荐flex布局开始-->
			<view class="flex flex-wrap align-center benben-flex-layout searchResult_flex_3"
				v-if="column_id=='2' && dataList.length > 0">
				<view class='flex flex-direction flex-wrap align-stretch searchResult_fd3_0' v-for="(v, k) in dataList"
					:key="k" @tap.stop="handleJumpDiy" data-type="navigateTo"
					:data-url="`/pages/homepage/shopDetail/shopDetail?id=${v.id}`">
					<image class='searchResult_fd3_0_c0' mode="scaleToFill" :src='v.thumb'></image>
					<view class='flex flex-direction flex-wrap align-stretch searchResult_fd3_0_c1'>
						<text class='flex-sub searchResult_fd3_0_c1_c0'>{{v.goods_name}}</text>
						<view class='flex flex-wrap align-center'>
							<text class='searchResult_fd3_0_c1_c1_c0'>￥</text>
							<view class=' searchResult_fd3_0_c1_c1_c1'>
								<text class=' searchResult_price1_fd3_0_c1_c1_c1'>{{ v.shop_price | frontPrice }}</text>
								<text class=' searchResult_price2_fd3_0_c1_c1_c1'>{{ v.shop_price | laterPrice }}</text>
							</view>
						</view>
						<view class='flex flex-wrap align-center justify-between searchResult_fd3_0_c1_c2'>
							<view class='flex flex-wrap align-center'>
								<text class='searchResult_fd3_0_c1_c2_c0_c0'>￥</text>
								<view class=' searchResult_fd3_0_c1_c2_c0_c1'>
									<text
										class=' searchResult_price1_fd3_0_c1_c2_c0_c1'>{{ v.original_price | frontPrice }}</text>
									<text
										class=' searchResult_price2_fd3_0_c1_c2_c0_c1'>{{ v.original_price | laterPrice }}</text>
								</view>
							</view>
							<view class='flex flex-wrap align-center'>
								<text class='searchResult_fd3_0_c1_c2_c1_c0'>销量</text>
								<text class='searchResult_fd3_0_c1_c2_c1_c1'>{{v.sales_sum}}</text>
							</view>
						</view>
					</view>
				</view>
				<u-loadmore v-if="last_page > 1" style="padding: 24rpx 0;width: 100%;" :status="status"
					:icon-type="iconType" :load-text="loadText" />
			</view>
			<!---为您推荐flex布局结束-->

			<view class="noData" v-if="dataList.length == 0 && isShow">
				<image src="/static/empty/no.png"></image>
				<view>暂无商品~</view>
			</view>
		</block>

		<u-select v-model="show" :list="list" confirm-color="#4781f5" @confirm="confirm"></u-select>


		<u-popup v-model="popupShow" mode="right" width="546">
			<view class="screenPopup" :style="{paddingTop:(20+StatusBarRpx)+'rpx'}">
				<view class="popup_title">筛选</view>
				<view class="popup_types">
					<view class="popup_types_title">
						<text>品牌</text>
						<u-icon name="arrow-up" size="20" color="#999"></u-icon>
					</view>
					<view class="types_content">
						<view class="types_item" :class="cid == item.id ? 'types_active_item' : ''"
							v-for="(item, index) in brandList" :key="index" @tap.stop="selectBrand(item.id)">
							{{item.name}}
						</view>
					</view>
				</view>
				<view class="popup_types">
					<view class="popup_types_title">
						<text>价格</text>
						<u-icon name="arrow-up" size="20" color="#999"></u-icon>
					</view>
					<view class="types_content">
						<view class="types_item" :class="priceIndex == index ? 'types_active_item' : ''"
							v-for="(item, index) in priceList" :key="index" @tap.stop="selectPrice(index, item.start_price, item.end_price)">
							<text>{{item.start_price}}</text>
							<text v-if="item.end_price">-</text>
							<text>{{item.end_price}}</text>
							<text v-if="!item.end_price">元+</text>
							<text v-else>元</text>
						</view>
					</view>
				</view>
				<view class="popup_price">
					<input v-model="start_price1" class="price_1" placeholder="0" type="number">
					<view class="price_2"></view>
					<input v-model="end_price1" class="price_1" placeholder="9999" type="number">
				</view>
				<view class="popup_btn">
					<view class="btn_1" @tap.stop="popupClose">重置</view>
					<view class="btn_2" @tap.stop="confirmScreen">确认</view>
				</view>
			</view>
		</u-popup>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'
	export default {
		components: {},

		data() {
			return {
				"minixPagingListsApi": "",
				"pageingListApiMethod": "",
				"allowOnloadGetList": false,
				"column_id": "1",
				"dataList": [],
				"sort_field": "1",
				"sort_type": "asc",
				"keyword": "",
				"cid": "",  // 品牌id
				"good_type": "",  // 专区id
				"new_id": "",
				"all_type": "all",
				"price_type": "asc",
				"show": false,
				"list": [{
						value: '1',
						label: '综合'
					},
					{
						value: '2',
						label: '新品优先'
					}
				],

				"page": 1,
				"is_pull": true,
				"last_page": 1,
				"status": 'loadmore',
				"iconType": 'flower',
				"loadText": {
					loadmore: '轻轻上拉',
					loading: '努力加载中',
					nomore: '我也是有底线的'
				},
				"isShow": false,

				// 筛选弹窗
				"popupShow": false,
				"priceIndex": -1,
				"brandList": [],  // 品牌列表
				"priceList": [],  // 价格列表
				"start_price": "",  // 开始价格
				"end_price": "",  // 结束价格
				"start_price1": "",  // 输入框开始价格
				"end_price1": "",  // 输入框结束价格
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {
			keyword() {
				if (!this.keyword) {
					this.page = 1;
					this.is_pull = true;
					this.isShow = false;
					this.DataListFunc()
				}
			},
			start_price1() {
				if (this.start_price1>0) {
					this.priceIndex = -1;
					this.start_price = "";
					this.end_price = "";
				}
			},
			end_price1() {
				if (this.end_price1>0) {
					this.priceIndex = -1;
					this.start_price = "";
					this.end_price = "";
				}
			}
		},
		onLoad(options) {
			let {
				keyword,
				cid,
				good_type,
				new_id
			} = options
			if (keyword !== undefined) this.keyword = keyword
			if (cid !== undefined) this.cid = cid
			if (new_id !== undefined) this.new_id = new_id
			if (good_type !== undefined) this.good_type = good_type
			this.DataListFunc();
			this.getShopBrand();
			this.getShopPrice();
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {
			this.page = 1;
			this.is_pull = true;
			this.isShow = false;
			this.DataListFunc()
		},
		onReachBottom(e) {
			if (this.page >= this.last_page) return;
			this.status = 'loading';
			this.page++;
			setTimeout(() => {

				if (this.page >= this.last_page) this.status = 'nomore';
				else this.status = 'loading';
				this.is_pull = false;
				this.DataListFunc();
			}, 500)
		},
		onPageScroll(e) {

		},
		methods: {
			// 商品品牌筛选  post6436c9d302226
			getShopBrand() {
				this.$api.post(global.apiUrls.post6436c9d302226, {
					
				}).then(res => {
					// console.log(res);
					if (res.data.code == 1) {
						this.brandList = res.data.data;
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			// 价格区间列表  post6600cdb7a1259
			getShopPrice() {
				this.$api.post(global.apiUrls.post6600cdb7a1259, {
					
				}).then(res => {
					// console.log(res);
					if (res.data.code == 1) {
						this.priceList = res.data.data;
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			
			//切换列宫格
			switchColumnFunc(id) {
				this.isShow = false;
				this.column_id = id;
				this.isShow = true;
			},
			//添加历史搜索记录
			addHistoryFunc() {
				this.$store.commit('appSearchHistoryAdd', {
					"name": this.keyword
				})
				this.page = 1;
				this.is_pull = true;
				this.isShow = false;
				this.DataListFunc()
			},
			// 选择品牌
			selectBrand(id) {
				this.cid = id;
			},
			selectPrice(index, start_price, end_price) {
				this.priceIndex = index;
				this.start_price = start_price;
				this.end_price = end_price;
				this.start_price1 = "";
				this.end_price1 = "";
			},
			popupClose() {
				this.cid = "";
				this.start_price = "";
				this.end_price = "";
				this.start_price1 = "";
				this.end_price1 = "";
				this.popupShow = false;
				this.page = 1;
				this.is_pull = true;
				this.isShow = false;
				this.DataListFunc()
			},
			confirmScreen() {
				if (this.start_price1 || this.end_price1) {
					if (this.start_price1 < 0) {
						this.$message.info('请输入正确的开始价格');
						return;
					}
					if (this.end_price1 <= 0) {
						this.$message.info('请输入正确的结束价格');
						return;
					}
					if (this.end_price1 < this.start_price1) {
						this.$message.info('结束价格必须大于开始价格');
						return;
					}
					this.start_price = this.start_price1;
					this.end_price = this.end_price1;
				}
				this.popupShow = false;
				this.page = 1;
				this.is_pull = true;
				this.isShow = false;
				this.DataListFunc()
			},
			//获取商品列表
			DataListFunc() {
				this.$api.post(global.apiUrls.post6436cedee662a, {
					page: this.page,
					keyword: this.keyword,
					cid: this.cid,
					new_id: this.new_id,
					all_type: this.all_type,
					sale_type: this.sort_type,
					price_type: this.price_type,
					order_type: this.sort_field,
					start_price: this.start_price,
					end_price: this.end_price,
					goods_type: this.good_type
				}).then(res => {
					// console.log(res);
					uni.stopPullDownRefresh();
					this.isShow = true;
					if (res.data.code == 1) {
						this.last_page = res.data.data.last_page;
						if (this.is_pull) {
							this.dataList = res.data.data.data;
						} else {
							this.dataList = this.dataList.concat(res.data.data.data);
						}
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			//列表切换
			switchListFunc(sort_field) {
				this.sort_field = sort_field;
				if (sort_field == 1) {
					// this.sort_type == 'asc'
					this.show = true;
					return;
				} else if (sort_field == 2) {
					if (this.sort_type == 'asc') {
						this.sort_type = 'desc';
					} else {
						this.sort_type = 'asc';
					}
					this.all_type = 'all';
					this.price_type = 'asc';
				} else if (sort_field == 3) {
					if (this.price_type == 'asc') {
						this.price_type = 'desc';
					} else {
						this.price_type = 'asc';
					}
					this.all_type = 'all';
					this.sort_type = 'asc';
				}
				this.page = 1;
				this.is_pull = true;
				this.isShow = false;
				this.DataListFunc()
			},
			confirm(e) {
				if (e[0].value == 1) {
					this.all_type = 'all';
				} else {
					this.all_type = 'new';
				}
				this.sort_type = 'asc';
				this.price_type = 'asc';
				this.page = 1;
				this.is_pull = true;
				this.isShow = false;
				this.DataListFunc()
			},
		}
	};
</script>
<style lang="scss" scoped>
	.screenPopup {
		position: relative;
		height: 100%;
		.popup_title {
			padding: 32rpx 32rpx 16rpx;
			font-size: 32rpx;
			font-weight: bold;
		}
		.popup_types {
			.popup_types_title {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin: 24rpx 0 16rpx;
				font-size: 28rpx;
				font-weight: bold;
				padding: 0 32rpx;
			}
		
			.types_content {
				overflow: hidden;
				padding: 0 16rpx;
		
				.types_item {
					width: 160rpx;
					height: 80rpx;
					background: #F8F8F8;
					border-radius: 16rpx;
					font-size: 24rpx;
					font-weight: 500;
					text-align: center;
					line-height: 80rpx;
					padding: 0 10rpx;
					float: left;
					margin: 0 16rpx 16rpx 0;
					text-overflow: ellipsis;
					overflow: hidden;
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 1;   /* 这里是超出几行省略 */
				}
		
				.types_item:nth-child(3n+3) {
					margin-right: 0;
				}
		
				.types_active_item {
					background: rgba(59, 157, 255, 1);
					color: #fff;
				}
			}
		}
		.popup_price {
			margin: 40rpx 0 0;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 0 16rpx;
			.price_1 {
				width: 230rpx;
				height: 72rpx;
				border-radius: 40rpx;
				border: 1px solid #999999;
				font-size: 24rpx;
				color: #999999;
				text-align: center;
			}
			.price_2 {
				width: 30rpx;
				height: 1px;
				background: #999999;
				border-radius: 16rpx;
			}
		}
		.popup_btn {
			width: 100%;
			position: absolute;
			left: 0;
			bottom: 40rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			.btn_1 {
				width: 246rpx;
				height: 72rpx;
				background: #F5F5F5;
				border-radius: 36rpx 0px 0px 36rpx;
				font-size: 29rpx;
				text-align: center;
				line-height: 72rpx;
			}
			.btn_2 {
				width: 246rpx;
				height: 72rpx;
				background: #3083FF;
				color: #fff;
				border-radius: 0px 36rpx 36rpx 0px;
				font-size: 29rpx;
				text-align: center;
				line-height: 72rpx;
			}
		}
	}
	

	.shaixuan {
		display: flex;
		align-items: center;
		font-size: 28rpx;

		image {
			width: 30rpx;
			height: 30rpx;
			margin-left: 12rpx;
		}
	}

	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: rgba(248, 248, 248, 1);
		background-size: 100% auto !important;
	}

	.searchResult_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 88rpx;
		background-size: 100% auto !important;
	}

	.searchResult_fd0_0_c3_1 {
		width: 30rpx;
		height: 28rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0 40rpx 0 auto;
	}

	.searchResult_fd0_0_c3 {
		width: 30rpx;
		height: 28rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0 40rpx 0 auto;
	}

	.searchResult_fd0_0_c2_c1_c2 {
		width: 16rpx;
		height: 20rpx;
	}

	.searchResult_fd0_0_c2_c1_c1 {
		width: 16rpx;
		height: 20rpx;
	}

	.searchResult_fd0_0_c2_c1_c0 {
		width: 16rpx;
		height: 20rpx;
	}

	.searchResult_fd0_0_c2_c0_1 {
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(59, 157, 255, 1);
		margin: 0rpx 10rpx 0rpx 0rpx;
	}

	.searchResult_fd0_0_c2_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(102, 102, 102, 1);
		margin: 0rpx 10rpx 0rpx 0rpx;
	}

	.searchResult_fd0_0_c1_c1_c2 {
		width: 16rpx;
		height: 20rpx;
	}

	.searchResult_fd0_0_c1_c1_c1 {
		width: 16rpx;
		height: 20rpx;
	}

	.searchResult_fd0_0_c1_c1_c0 {
		width: 16rpx;
		height: 20rpx;
	}

	.searchResult_fd0_0_c1_c0_1 {
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(59, 157, 255, 1);
		margin: 0rpx 10rpx 0rpx 0rpx;
	}

	.searchResult_fd0_0_c1_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(102, 102, 102, 1);
		margin: 0rpx 10rpx 0rpx 0rpx;
	}

	.searchResult_fd0_0_c0_c0_1 {
		font-size: 28rpx;
		font-weight: 500;
		color: rgba(102, 102, 102, 1);
	}

	.searchResult_fd0_0_c0_c0 {
		font-size: 28rpx;
		font-weight: 500;
		color: rgba(59, 157, 255, 1);
	}

	.searchResult_fd0_0 {
		padding: 0rpx 24rpx 0rpx 40rpx;
	}

	.searchResult_flex_1 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.searchResult_fd1_0_c2 {
		width: 40rpx;
		height: 40rpx;
		font-size: 36rpx;
		font-weight: 500;
	}

	.searchResult_fd1_0_c1 {
		background: rgba(249, 249, 249, 1);
		background-size: 100% auto !important;
		border-radius: 34rpx 34rpx 34rpx 34rpx;
		width: 574rpx;
		height: 64rpx;
		padding: 0rpx 24rpx 0rpx 24rpx;
	}

	.input_text {
		font-size: 24rpx;
	}

	.searchResult_fd1_0_c0 {
		font-size: 36rpx;
		color: #333;
		font-weight: 500;
	}

	.searchResult_fd1_0 {
		margin: 0rpx 32rpx 0rpx 32rpx;
	}

	.searchResult_flex_2 {
		border-top: 10px solid rgba(248, 248, 248, 1);
		background: #fff;
		padding: 12rpx 24rpx 12rpx 24rpx;
		background-size: 100% auto !important;
	}

	.searchResult_price2_fd2_0_c1_c2_c3 {
		font-size: 24rpx;
	}

	.searchResult_fd2_0_c1_c2_c3 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		text-decoration: line-through;
	}

	.searchResult_fd2_0_c1_c2_c2 {
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
		margin: 0rpx 0rpx 0rpx 16rpx;
		text-decoration: line-through;
	}

	.searchResult_price2_fd2_0_c1_c2_c1 {
		font-size: 22rpx;
	}

	.searchResult_price1_fd2_0_c1_c2_c1 {
		font-size: 32rpx;
		font-weight: 700;
		color: #E5393C;
	}

	.searchResult_fd2_0_c1_c2_c1 {
		color: #E5393C;
		font-weight: 600;
		font-size: 32rpx;
	}

	.searchResult_fd2_0_c1_c2_c0 {
		font-size: 22rpx;
		font-weight: 700;
		color: #E5393C;
	}

	.searchResult_fd2_0_c1_c1_c1 {
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
	}

	.searchResult_fd2_0_c1_c1 {
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
		line-height: 35rpx;
		margin: 16rpx 0rpx 23rpx 0rpx;
	}

	.searchResult_fd2_0_c1_c0 {
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		font-size: 28rpx;
		font-weight: 500;
		color: #333333;
	}

	.searchResult_fd2_0_c1 {
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.searchResult_fd2_0_c0 {
		width: 200rpx;
		height: 200rpx;
	}

	.searchResult_fd2_0 {
		border-bottom: 1px solid #eee;
		padding: 24rpx 0rpx 24rpx 0rpx;
	}

	.searchResult_flex_3 {
		padding: 0rpx 15rpx 12rpx 15rpx;
	}

	.searchResult_fd3_0_c1_c2_c1_c1 {
		color: #BBBBBB;
		font-size: 22rpx;
		font-weight: 400;
		line-height: 30rpx;
	}

	.searchResult_fd3_0_c1_c2_c1_c0 {
		color: #BBBBBB;
		font-size: 22rpx;
		font-weight: 400;
		line-height: 30rpx;
	}

	.searchResult_price2_fd3_0_c1_c2_c0_c1 {
		font-size: 22rpx;
	}

	.searchResult_price1_fd3_0_c1_c2_c0_c1 {
		font-size: 22rpx;
	}

	.searchResult_fd3_0_c1_c2_c0_c1 {
		color: #BBBBBB;
		font-weight: 400;
		line-height: 30rpx;
		font-size: 22rpx;
		text-decoration: line-through;
	}

	.searchResult_fd3_0_c1_c2_c0_c0 {
		color: #BBBBBB;
		font-size: 22rpx;
		font-weight: 400;
		line-height: 30rpx;
		text-decoration: line-through;
	}

	.searchResult_fd3_0_c1_c2 {
		margin: 10rpx 0rpx 0rpx 0rpx;
	}

	.searchResult_price2_fd3_0_c1_c1_c1 {
		font-size: 22rpx;
	}

	.searchResult_price1_fd3_0_c1_c1_c1 {
		font-size: 32rpx;
		font-weight: 700;
		color: #E5393C;
	}

	.searchResult_fd3_0_c1_c1_c1 {
		color: #E5393C;
		font-weight: 700;
		font-size: 36rpx;
		line-height: 48rpx;
	}

	.searchResult_fd3_0_c1_c1_c0 {
		font-size: 22rpx;
		font-weight: 700;
		color: #E5393C;
	}

	.searchResult_fd3_0_c1_c0 {
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		font-size: 30rpx;
		font-weight: 500;
		color: #222222;
		line-height: 42rpx;
	}

	.searchResult_fd3_0_c1 {
		margin: 24rpx 16rpx 24rpx 16rpx;
	}

	.searchResult_fd3_0_c0 {
		width: 350rpx;
		height: 350rpx;
		border-radius: 16rpx 16rpx 0rpx 0rpx;
	}

	.searchResult_fd3_0 {
		background: rgba(255, 255, 255, 1);
		background-size: 100% auto !important;
		margin: 10rpx 5rpx 5rpx 5rpx;
		width: 350rpx;
	}
</style>